cmake_minimum_required(VERSION 3.5.0)
project(test5 VERSION 0.1.0 LANGUAGES C CXX)

include_directories(
    "D:\\code\\other\\Window_Vscode_Cmake_CPP_Helloworld\\test4\\src\\"
) # 头文件查找路径

LINK_DIRECTORIES(
    "D:\\code\\other\\Window_Vscode_Cmake_CPP_Helloworld\\test4\\out\\build\\GCC 13.2.0 x86_64-w64-mingw32 (mingw64)"
    ) # 编译时库文件查找路径

add_executable(test5 src/main.cpp) # 编译的源文件，编为可执行文件

target_link_libraries(
    test5 libcmake_dll_helloworld.dll
) # 链接库名称




include(CTest)
enable_testing()

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack) 
